import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import '@/styles/index.scss'
import '@/icons'

Vue.config.productionTip = false

// element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import Tinymce from '@/components/tinymce/index.vue'
Vue.component('tinymce', Tinymce)

import axios from 'axios'
import {
    axiosConfig
} from '@/components/generator/config'
axiosConfig(axios, opParams)
Vue.prototype.$axios = axios

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
